package trianglest;

public class triangle {
	
	public static String judge( int a, int b, int c ){
		String result = "";
		if( a+b > c && a+c > b && b+c > a ){
			if( a == b || a ==c || b == c ){
				if( a == b && b == c ){
					result = "equilateral";
				} else{
					result = "isosceles";
				}
			} else{
				result = "scalene";
			}
		} else{
			result = "This is not a triangle";
		}
		return result;
	}
}
